import _axios from '../plugins/axios';

class Address {
	getProvince() {
		return _axios.post('common/region/province');
	}

	getCity(id) {
		return _axios.post('common/region/child?pid=' + id);
	}
}

export default Address;
